package com.shoulder.boot.acl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Oauth2RegisteredClient {
    private String id;
    private String clientId;
    @JsonFormat(
            timezone = "GMT+8",
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private LocalDateTime clientIdIssuedAt;
    private String clientSecret;
    private String clientName;
    @TableField(value = "client_authentication_methods")
    private String clientAuthenticationMethod;
    @TableField(value = "authorization_grant_types")
    private String authorizationGrantType;
    private String redirectUris;
    private String scopes;
    private String clientSettings;
    private String tokenSettings;
}
